package com.demo.sso.controller.sso;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

    /**
     * 根路径重定向到登录页面
     */
    @GetMapping("/")
    public String index() {
        return "redirect:/login.html";
    }
}